<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎</title>
    <style type="text/css">
        #div{
            text-align: center;
        }

    </style>
</head>
<body>
<div id="div">
    欢迎您,<span th:text="${session.userInfo.chName}"></span>

</div>
</body>
</html>